package com.pearl.generator.pojo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author TangDan
 * @version 1.0
 * @since 2022/8/8
 */
@Data
public class GeneratorCodeRequest {

    @NotNull(message = "方案ID不能为空")
    private Long planId;

    @NotNull(message = "数据源ID不能为空")
    private Long datasourceId;

    @ApiModelProperty("表名")
    private List<String> tableNameList;
}
